2026-10-12T21:20:45.0105767Z ##[group]Run node scripts/deploy.mjs deploy --only "identity,search,webhooks,security" --force --no-migrations --concurrency 2
2026-10-12T21:20:45.0105895Z [36;1mnode scripts/deploy.mjs deploy --only "identity,search,webhooks,security" --force --no-migrations --concurrency 2[0m
2026-10-12T21:20:45.0105910Z shell: /usr/bin/bash -e {0}
2026-10-12T21:20:45.0105926Z env:
2026-10-12T21:20:45.0105940Z   CARGO_INCREMENTAL: 0
2026-10-12T21:20:45.0105951Z   CARGO_TERM_COLOR: never
2026-10-12T21:20:45.0105988Z   CLOUDFLARE_ACCOUNT_ID: 1e6f2cffa3f445920836e8ebe446bb58
2026-10-12T21:20:45.0106032Z   CLOUDFLARE_API_TOKEN: ***
2026-10-12T21:20:45.0106058Z   RUSTC_WRAPPER: /home/node/.cargo/bin/sccache
2026-10-12T21:20:45.0106072Z   SCCACHE_GHA_ENABLED: true
2026-10-12T21:20:45.0106082Z   SCCACHE_IDLE_TIMEOUT: 0
2026-10-12T21:20:45.0106093Z   SCCACHE_IGNORE_SERVER_IO_ERROR: 1
2026-10-12T21:20:45.0106135Z   STATUS_DEPLOY_TOKEN: ***
2026-10-12T21:20:45.0106145Z   WRANGLER_SEND_METRICS: false
2026-10-12T21:20:45.0106155Z ##[endgroup]
2026-10-12T21:20:45.8918893Z Deploying 84c72dbbd7fd (The landing page lists the Android app among what works today, with notifications, linking to Download, where its QR code installs it; the iPhone app stays under Coming soon.)
2026-10-12T21:20:45.8919469Z 
2026-10-12T21:20:45.8922033Z unit      stage  action  live          migrations  why
2026-10-12T21:20:45.8922329Z --------  -----  ------  ------------  ----------  ----------------------------------------------------------------------
2026-10-12T21:20:45.8922453Z identity  core   deploy  d0c3aba85001  -           26 changed files (services/identity/src/invites.rs)
2026-10-12T21:20:45.8922529Z search    core   deploy  d0c3aba85001  -           18 changed files (crates/contracts/src/agents.rs via crates/contracts)
2026-10-12T21:20:45.8922578Z webhooks  core   deploy  d0c3aba85001  -           20 changed files (services/webhooks/src/deliver.rs)
2026-10-12T21:20:45.8922644Z security  core   deploy  d0c3aba85001  -           23 changed files (services/security/src/deps.rs)
2026-10-12T21:20:45.8923957Z 
2026-10-12T21:20:45.8923987Z 4 to deploy: core (identity, search, webhooks, security)
2026-10-12T21:20:46.3590495Z == core: identity, search, webhooks, security
2026-10-12T21:20:47.1970922Z [identity]  ⛅️ wrangler 4.146.0
2026-10-12T21:20:47.4909585Z [identity] ────────────────────
2026-10-12T21:20:47.4909634Z [search]  ⛅️ wrangler 4.146.0
2026-10-12T21:20:47.4909697Z [search] ────────────────────
2026-10-12T21:20:47.4909752Z [search] [custom build] Running: node ../../scripts/build-rust-worker.mjs
2026-10-12T21:20:47.4909794Z [identity] [custom build] Running: node ../../scripts/build-rust-worker.mjs
2026-10-12T21:20:55.7038382Z [search] [custom build] [INFO]: Checking for the Wasm target...
2026-10-12T21:20:55.8639135Z [search] [custom build] 
2026-10-12T21:20:55.8639265Z [identity] [custom build] [INFO]: Checking for the Wasm target...
2026-10-12T21:20:55.8639285Z [identity] [custom build] 
2026-10-12T21:20:55.8639308Z [search] [custom build] [INFO]: Compiling to Wasm...
2026-10-12T21:20:55.8639328Z [search] [custom build] 
2026-10-12T21:20:55.8639358Z [identity] [custom build] [INFO]: Compiling to Wasm...
2026-10-12T21:20:55.8639369Z [identity] [custom build] 
2026-10-12T21:20:55.8639432Z [identity] [custom build]     Blocking waiting for file lock on package cache
2026-10-12T21:20:55.8639442Z [identity] [custom build] 
2026-10-12T21:20:55.8649646Z [search] [custom build]     Blocking waiting for file lock on package cache
2026-10-12T21:20:55.8650601Z [search] [custom build] 
2026-10-12T21:20:55.9188967Z [identity] [custom build]     Blocking waiting for file lock on package cache
2026-10-12T21:20:55.9189121Z [identity] [custom build] 
2026-10-12T21:20:55.9191181Z [search] [custom build]     Blocking waiting for file lock on package cache
2026-10-12T21:20:55.9191201Z [search] [custom build] 
2026-10-12T21:20:55.9250146Z [identity] [custom build]     Blocking
2026-10-12T21:20:55.9250340Z [identity] [custom build]  waiting for file lock on package cache
2026-10-12T21:20:55.9250367Z [identity] [custom build] 
2026-10-12T21:20:55.9359735Z [search] [custom build]     Blocking waiting for file lock on package cache
2026-10-12T21:20:55.9360298Z [search] [custom build] 
2026-10-12T21:20:55.9572682Z [identity] [custom build]     Blocking waiting for file lock on build directory
2026-10-12T21:20:55.9572767Z [identity] [custom build] 
2026-10-12T21:20:55.9655531Z [search] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
2026-10-12T21:20:55.9656384Z [search] [custom build] 
2026-10-12T21:21:03.7066262Z [search] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
2026-10-12T21:21:03.8795910Z [search] [custom build] 
2026-10-12T21:21:04.1804973Z [search] [custom build]    Compiling g1t-search v0.1.0 (/home/runner/work/repo/services/search)
2026-10-12T21:21:04.1805097Z [search] [custom build] 
2026-10-12T21:21:11.1389883Z [search] [custom build]     Finished `release` profile [optimized] target(s) in 15.36s
2026-10-12T21:21:11.3068271Z [search] [custom build] 
2026-10-12T21:21:11.3068431Z [identity] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
2026-10-12T21:21:11.3068451Z [identity] [custom build] 
2026-10-12T21:21:11.4849675Z [identity] [custom build]    Compiling g1t-identity v0.1.0 (/home/runner/work/repo/services/identity)
2026-10-12T21:21:11.4851055Z [identity] [custom build] 
2026-10-12T21:21:11.6480105Z [search] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
2026-10-12T21:21:11.6480230Z [search] [custom build] 
2026-10-12T21:21:11.8930074Z [identity] [custom build] warning: unused import: `is_valid_namespace`
2026-10-12T21:21:11.8930198Z [identity] [custom build]   --> services/identity/src/github.rs:29:128
2026-10-12T21:21:11.8930218Z [identity] [custom build]    |
2026-10-12T21:21:11.8930317Z [identity] [custom build] 29 | ...ction_owner_name, is_claimable_name, is_reserved_name, is_valid_namespace, new_id};
2026-10-12T21:21:11.8930417Z [identity] [custom build]    |                                                           ^^^^^^^^^^^^^^^^^^
2026-10-12T21:21:11.8930430Z [identity] [custom build]    |
2026-10-12T21:21:11.8930485Z [identity] [custom build]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
2026-10-12T21:21:11.8930508Z [identity] [custom build] 
2026-10-12T21:21:11.8930518Z [identity] [custom build] 
2026-10-12T21:21:11.8967867Z [identity] [custom build] warning: unused import: `permissions_of`
2026-10-12T21:21:11.8967994Z [identity] [custom build]   --> services/identity/src/token_reach.rs:39:69
2026-10-12T21:21:11.8968007Z [identity] [custom build]    |
2026-10-12T21:21:11.8968104Z [identity] [custom build] 39 | use g1t_contracts::scopes::{RepositorySelection, Scope, TokenReach, permissions_of, resolve_permissions, scopes_text};
2026-10-12T21:21:11.8968546Z [identity] [custom build]    |                                                                     ^^^^^^^^^^^^^^
2026-10-12T21:21:11.8968558Z [identity] [custom build] 
2026-10-12T21:21:11.8968567Z [identity] [custom build] 
2026-10-12T21:21:12.3233456Z [search] [custom build] [INFO]: :-)Done in 16.54s
2026-10-12T21:21:12.3233633Z [search] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/search/build/.tmp.
2026-10-12T21:21:12.3233658Z [search] [custom build] 
2026-10-12T21:21:12.3243126Z [search] [custom build] 
2026-10-12T21:21:12.3245107Z [search] [custom build]   index.js  26.7kb
2026-10-12T21:21:12.3245644Z [search] [custom build] 
2026-10-12T21:21:12.3245684Z [search] [custom build] ⚡ Done in 6ms
2026-10-12T21:21:12.3245828Z [search] [custom build] 
2026-10-12T21:21:13.5087736Z [search] Total Upload: 1637.50 KiB / gzip: 385.73 KiB
2026-10-12T21:21:15.8815315Z [search] Worker Startup Time: 5 ms
2026-10-12T21:21:16.0704730Z [search] Your Worker has access to the following bindings:
2026-10-12T21:21:16.0704830Z [search] Binding                          Resource         
2026-10-12T21:21:16.0704866Z [search] env.JOBS (inherited)             Queue            
2026-10-12T21:21:16.0704900Z [search] env.DB (g1t-search)              D1 Database      
2026-10-12T21:21:16.0704927Z [search] env.IDENTITY (g1t-identity)      Worker           
2026-10-12T21:21:16.0704953Z [search] env.REPOS (g1t-repos)            Worker           
2026-10-12T21:21:16.0704982Z [search] env.WORK (g1t-work)              Worker           
2026-10-12T21:21:16.0705008Z [search] env.BILLING (g1t-billing)        Worker           
2026-10-12T21:21:16.0705019Z [search] Uploaded g1t-search (2.53 sec)
2026-10-12T21:21:17.3045181Z [search] Deployed g1t-search triggers (1.22 sec)
2026-10-12T21:21:17.3045237Z [search]   Producer for g1t-search-jobs
2026-10-12T21:21:17.3045267Z [search]   Consumer for g1t-events-search
2026-10-12T21:21:17.3045288Z [search]   Consumer for g1t-search-jobs
2026-10-12T21:21:17.3045369Z [search] Current Version ID: 0f5a5897-d2b3-4ab0-93be-5b892bc8367e
2026-10-12T21:21:17.9130072Z [webhooks]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
2026-10-12T21:21:17.9130312Z [webhooks] ───────────────────────────────────────────────
2026-10-12T21:21:17.9312455Z [webhooks] [custom build] Running: node ../../scripts/build-rust-worker.mjs
2026-10-12T21:21:18.3439355Z [webhooks] [custom build] [INFO]: Checking for the Wasm target...
2026-10-12T21:21:18.3439479Z [webhooks] [custom build] 
2026-10-12T21:21:18.3439517Z [webhooks] [custom build] [INFO]: Compiling to Wasm...
2026-10-12T21:21:18.3439532Z [webhooks] [custom build] 
2026-10-12T21:21:18.3637526Z [webhooks] [custom build]     Blocking waiting for file lock on build directory
2026-10-12T21:21:18.3638059Z [webhooks] [custom build] 
2026-10-12T21:21:32.9268896Z [identity] [custom build] warning: `g1t-identity` (lib) generated 2 warnings (run `cargo fix --lib -p g1t-identity` to apply 2 suggestions)
2026-10-12T21:21:33.1191454Z [identity] [custom build]     Finished `release` profile [optimized] target(s) in 37.14s
2026-10-12T21:21:33.1191519Z [identity] [custom build] 
2026-10-12T21:21:33.1191601Z [webhooks] [custom build]    Compiling g1t-webhooks v0.1.0 (/home/runner/work/repo/services/webhooks)
2026-10-12T21:21:33.1191620Z [webhooks] [custom build] 
2026-10-12T21:21:34.3547388Z [identity] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
2026-10-12T21:21:34.3547444Z [identity] [custom build] 
2026-10-12T21:21:37.0855172Z [identity] [custom build] [INFO]: :-)Done in 41.30s
2026-10-12T21:21:37.2497421Z [identity] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/identity/build/.tmp.
2026-10-12T21:21:37.2497493Z [identity] [custom build] 
2026-10-12T21:21:37.2497510Z [identity] [custom build] 
2026-10-12T21:21:37.2497527Z [identity] [custom build]   index.js  27.7kb
2026-10-12T21:21:37.2497543Z [identity] [custom build] 
2026-10-12T21:21:37.2497555Z [identity] [custom build] ⚡ Done in 7ms
2026-10-12T21:21:37.2497565Z [identity] [custom build] 
2026-10-12T21:21:38.1010866Z [webhooks] [custom build]     Finished `release` profile [optimized] target(s) in 19.83s
2026-10-12T21:21:38.2762828Z [webhooks] [custom build] 
2026-10-12T21:21:38.4232055Z [webhooks] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
2026-10-12T21:21:38.4232182Z [webhooks] [custom build] 
2026-10-12T21:21:38.7084791Z [identity] Total Upload: 4599.92 KiB / gzip: 1101.39 KiB
2026-10-12T21:21:38.7935425Z [webhooks] [custom build] [INFO]: :-)Done in 20.53s
2026-10-12T21:21:38.7941158Z [webhooks] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/webhooks/build/.tmp.
2026-10-12T21:21:38.7941297Z [webhooks] [custom build] 
2026-10-12T21:21:38.8044726Z [webhooks] [custom build] 
2026-10-12T21:21:38.8046552Z [webhooks] [custom build]   index.js  27.6kb
2026-10-12T21:21:38.8046643Z [webhooks] [custom build] 
2026-10-12T21:21:38.8046660Z [webhooks] [custom build] ⚡ Done in 6ms
2026-10-12T21:21:38.8046685Z [webhooks] [custom build] 
2026-10-12T21:21:40.1858490Z [webhooks] Total Upload: 1047.83 KiB / gzip: 262.98 KiB
2026-10-12T21:21:41.1411676Z [identity] Worker Startup Time: 4 ms
2026-10-12T21:21:41.1424055Z [identity] Your Worker has access to the following bindings:
2026-10-12T21:21:41.1424192Z [identity] Binding                                                          Resource                  
2026-10-12T21:21:41.1425155Z [identity] env.AVATARS (e627b571f07047e187c03e1fc2b3bbdd)                   KV Namespace              
2026-10-12T21:21:41.1425209Z [identity] env.EMAIL (unrestricted)                                         Send Email                
2026-10-12T21:21:41.1425260Z [identity] env.DB (g1t)                                                     D1 Database               
2026-10-12T21:21:41.1425310Z [identity] env.EVENTS (g1t-events)                                          Worker                    
2026-10-12T21:21:41.1425635Z [identity] env.REPOS (g1t-repos)                                            Worker                    
2026-10-12T21:21:41.1426076Z [identity] env.PROJECTS (g1t-projects)                                      Worker                    
2026-10-12T21:21:41.1426465Z [identity] env.BILLING (g1t-billing)                                        Worker                    
2026-10-12T21:21:41.1426507Z [identity] env.PROTECTED_WORKSPACES ("flagon-io")                           Environment Variable      
2026-10-12T21:21:41.1426556Z [identity] env.PROTECTED_ACCOUNTS ("")                                      Environment Variable      
2026-10-12T21:21:41.1426608Z [identity] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")                Environment Variable      
2026-10-12T21:21:41.1426796Z [identity] env.INVITE_TTL_DAYS ("30")                                       Environment Variable      
2026-10-12T21:21:41.1428834Z [identity] Uploaded g1t-identity (2.88 sec)
2026-10-12T21:21:41.8572675Z [webhooks] Worker Startup Time: 4 ms
2026-10-12T21:21:41.8572792Z [webhooks] Your Worker has access to the following bindings:
2026-10-12T21:21:41.8572846Z [webhooks] Binding                          Resource         
2026-10-12T21:21:41.8572884Z [webhooks] env.DB (g1t-webhooks)            D1 Database      
2026-10-12T21:21:41.8572917Z [webhooks] env.REPOS (g1t-repos)            Worker           
2026-10-12T21:21:41.8572946Z [webhooks] env.IDENTITY (g1t-identity)      Worker           
2026-10-12T21:21:41.8572964Z [webhooks] Uploaded g1t-webhooks (1.76 sec)
2026-10-12T21:21:41.8572988Z [identity] Deployed g1t-identity triggers (0.59 sec)
2026-10-12T21:21:41.8573000Z [identity]   schedule: */15 * * * *
2026-10-12T21:21:41.8573042Z [identity] Current Version ID: 3fdb5a97-5797-4b02-bcd2-425997d1527f
2026-10-12T21:21:42.5886361Z [security]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
2026-10-12T21:21:42.5886595Z [security] ───────────────────────────────────────────────
2026-10-12T21:21:42.6217898Z [security] [custom build] Running: node ../../scripts/build-rust-worker.mjs
2026-10-12T21:21:43.0699699Z [webhooks] Deployed g1t-webhooks triggers (1.15 sec)
2026-10-12T21:21:43.0699780Z [webhooks]   schedule: * * * * *
2026-10-12T21:21:43.0699800Z [webhooks]   schedule: 37 * * * *
2026-10-12T21:21:43.0699821Z [webhooks]   Consumer for g1t-events-webhooks
2026-10-12T21:21:43.0699931Z [webhooks] Current Version ID: 88f8225b-3e58-4e8a-879a-abba260dccc4
2026-10-12T21:21:43.0699979Z [security] [custom build] [INFO]: Checking for the Wasm target...
2026-10-12T21:21:43.0699994Z [security] [custom build] 
2026-10-12T21:21:43.0700017Z [security] [custom build] [INFO]: Compiling to Wasm...
2026-10-12T21:21:43.0700027Z [security] [custom build] 
2026-10-12T21:21:43.1146111Z [security] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
2026-10-12T21:21:43.1146265Z [security] [custom build] 
2026-10-12T21:21:43.1146339Z [security] [custom build]    Compiling g1t-scan v0.1.0 (/home/runner/work/repo/crates/scan)
2026-10-12T21:21:43.1146433Z [security] [custom build]    Compiling g1t-actions v0.1.0 (/home/runner/work/repo/crates/actions)
2026-10-12T21:21:43.1146446Z [security] [custom build] 
2026-10-12T21:22:20.2217017Z [security] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
2026-10-12T21:22:20.4081105Z [security] [custom build] 
2026-10-12T21:22:22.8342517Z [security] [custom build]    Compiling g1t-security v0.1.0 (/home/runner/work/repo/services/security)
2026-10-12T21:22:23.0045693Z [security] [custom build] 
2026-10-12T21:22:44.4262723Z [security] [custom build]     Finished `release` profile [optimized] target(s) in 1m 01s
2026-10-12T21:22:44.5973412Z [security] [custom build] 
2026-10-12T21:22:46.1629416Z [security] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
2026-10-12T21:22:46.1629541Z [security] [custom build] 
2026-10-12T21:22:48.1546172Z [security] [custom build] [INFO]: :-)Done in 1m 05s
2026-10-12T21:22:48.3147413Z [security] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/security/build/.tmp.
2026-10-12T21:22:48.3147475Z [security] [custom build] 
2026-10-12T21:22:48.3147503Z [security] [custom build] 
2026-10-12T21:22:48.3147521Z [security] [custom build]   index.js  27.4kb
2026-10-12T21:22:48.3147542Z [security] [custom build] 
2026-10-12T21:22:48.3147558Z [security] [custom build] ⚡ Done in 7ms
2026-10-12T21:22:48.3147699Z [security] [custom build] 
2026-10-12T21:22:49.8439442Z [security] Total Upload: 5788.21 KiB / gzip: 1477.97 KiB
2026-10-12T21:22:52.8148226Z [security] Worker Startup Time: 5 ms
2026-10-12T21:22:53.0760864Z [security] Your Worker has access to the following bindings:
2026-10-12T21:22:53.0760962Z [security] Binding                              Resource                  
2026-10-12T21:22:53.0761013Z [security] env.DB (g1t-security)                D1 Database               
2026-10-12T21:22:53.0761050Z [security] env.IDENTITY (g1t-identity)          Worker                    
2026-10-12T21:22:53.0761084Z [security] env.REPOS (g1t-repos)                Worker                    
2026-10-12T21:22:53.0761121Z [security] env.WORK (g1t-work)                  Worker                    
2026-10-12T21:22:53.0761153Z [security] env.RUNNER (g1t-runner)              Worker                    
2026-10-12T21:22:53.0761184Z [security] env.BILLING (g1t-billing)            Worker                    
2026-10-12T21:22:53.0761215Z [security] env.ACTIONS (g1t-actions)            Worker                    
2026-10-12T21:22:53.0761255Z [security] env.EVENTS (g1t-events)              Worker                    
2026-10-12T21:22:53.0761292Z [security] env.SITE_URL ("https://g1t.sh")      Environment Variable      
2026-10-12T21:22:53.0761304Z [security] Uploaded g1t-security (3.21 sec)
2026-10-12T21:22:54.1378416Z [security] Deployed g1t-security triggers (1.32 sec)
2026-10-12T21:22:54.1378518Z [security]   schedule: */30 * * * *
2026-10-12T21:22:54.1378549Z [security]   schedule: */5 * * * *
2026-10-12T21:22:54.1378570Z [security]   Consumer for g1t-events-security
2026-10-12T21:22:54.1378663Z [security] Current Version ID: 7d0a1e82-547c-45d1-a902-e64731ff06d4
2026-10-12T21:22:54.2952538Z 
2026-10-12T21:22:54.2952769Z unit      stage  result  version                               time   note
2026-10-12T21:22:54.2952870Z --------  -----  ------  ------------------------------------  -----  ----
2026-10-12T21:22:54.2952919Z identity  core   ok      3fdb5a97-5797-4b02-bcd2-425997d1527f  55.4s
2026-10-12T21:22:54.2952956Z search    core   ok      0f5a5897-d2b3-4ab0-93be-5b892bc8367e  30.8s
2026-10-12T21:22:54.2952993Z webhooks  core   ok      88f8225b-3e58-4e8a-879a-abba260dccc4  25.8s
2026-10-12T21:22:54.2953042Z security  core   ok      7d0a1e82-547c-45d1-a902-e64731ff06d4  72.4s
2026-10-12T21:22:54.2953060Z 
2026-10-12T21:22:54.2953075Z Deployed in 129.2s.
